package com.lenovo.codestatreport.git.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author Howie Lu
 * @version Updated at 2019/06/03
 * @description 统计master分支的各项指标，
 */
@Mapper
public interface CodeStatOnlyMasterMapper {

    Integer countAddLineByPersonByTime(@Param("tablename") String tablename, String rdName, String start, String end);

    Integer countDeleteLineByPersonByTime(@Param("tablename") String tablename, String rdName, String start, String end);

    Integer countTotalLineByPersonByTime(@Param("tablename") String tablename, String rdName, String start, String end);

    Integer countTotalCommitsByPersonByTime(@Param("tablename") String tablename, String rdName, String start, String end);
}
